import request from '@/utils/request'
// 获取设备状态列表
export const getsbztlist = params => request.get('api/vm-service/vm/search', { params })
// 月销售量
export const getorderConut = params => request.get('/api/order-service/report/orderCount', { params })
// 月销售额
export const getorderAmount = params => request.get('/api/order-service/report/orderAmount', { params })
// 补货次数
export const getsupplyCount = (innerCode, start, end) => request.get(`api/task-service/task/supplyCount/${innerCode}/${start}/${end}`)
// 维修次数
export const getrepairCount = (innerCode, start, end) => request.get(`api/task-service/task/repairCount/${innerCode}/${start}/${end}`)
// 获取售货机销售数量
export const getskuCollect = (innerCode, start, end) => request.get(`/api/order-service/report/skuCollect/${innerCode}/${start}/${start}`)
// export const getskuCollect = (innerCode, start, end) => request.get('/api/order-service/report/skuCollect/01000002/2022-11-01/2022-11-30')
